export default [
    {
        path: '',
        name: 'index',
        meta: {
            title: '首页'
        },
        component: () => import('./index')
    },
    {
        path: 'type',
        meta: {
            title: '分类'
        },
        name: 'type',
        component: () => import('./type')
    },
    {
        path: 'cart',
        meta: {
            title: '购物车',
            needLogin: true
        },
        name: 'cart',
        component: () => import('./cart')
    },
    {
        path: 'profile',
        meta: {
            title: '我的'
        },
        name: 'profile',
        component: () => import('./profile')
    }
]